package com.zcy.gift;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <p>
 *
 * </p>
 *
 * @author lucker
 * @date 2024/1/23 20:09
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.zcy.*.mapper")
@EnableFeignClients(basePackages = "com.zcy.gift.client")
@RefreshScope
public class UserServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceApp.class, args);
    }
}
